/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ClasesKinesiologia;

import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

/**
 *
 * @author Adrian
 */
public class Seciones implements Serializable
{

    private int tot,cod;
    private int echas,nom;
    private String entregaSec;

    private Date fechaI;
    
    public Seciones(int c,int t,int e, Date fI,String est)
    {
        tot =t;
        cod =c;
        echas = e;
        entregaSec = est;
        fechaI = fI;
    }

    public String getrest()
    {
        int q = tot - echas;
        return String.valueOf(q);
    }

    public void setEst(String g)
    {
        entregaSec = g;
    }

    public String getEst()
    {
        return this.entregaSec;
    }
    public void agregaSec(int t)
    {
        echas += t;
    }


    public void setTot(int t)
    {
        tot = t;
    }
    
     public void setEchas(int t)
    {
        echas = t;
    }
    
     public void setFe(Date fe)
     {
         fechaI = fe;
     }

     public void setNom(int s)
     {
         nom = s;
     }

     public int getNom()
     {
         return nom;
     }
     
     public int getTot()
     {
         return tot;
     }
     
     public int getEchas()
     {
         return echas;
     }
     
     public Date getFe()
     {
         return fechaI;
     }
}
